package ltd.sshine.runtime.exception;

import lombok.Getter;

/**
 * 调用服务异常，想让用户通知，也想让系统做日志
 */
@Getter
public class SystemRuntimeException extends AbstractBaseException{

    private final Throwable throwable;
    public SystemRuntimeException(Throwable t,String msg, int code) {
        super(msg, code);
        throwable=t;
    }
}
